/* Edited for ZBrush version 2021 WITH NOTEPAD++
CONCEPT FOR UI WITH VARIOUS IMAGES DISPLAYED
*/

[VarSet,#width,[IGet,Document:Width]]
[VarSet,#height,[IGet,Document:Height]]
[VarSet,#name,[IGetTitle,29916]]
[VarSet,#toolname,[IGet,29916]]//get ?
[varSet,#maxtools,[ToolGetCount]]//STD ITEMS - 49 
[VarSet,#tools,49]//STD ITEMS - 49 
[VarSet,#dif,((#maxtools)-(#tools))]//Subtract values//Calculated number of Tools
[VarSet,#subtools,[SubToolGetCount]]
//placeholder for var for //[VarSet,#summary,  //[NoteIButton,"Save to file?"]  [NoteIButton,""]

[IButton,???,"Total Points",
[Mesh3DGet,0,,,points]
[VarSet,#totalpts,[StrExtract,[IGetTitle,Preferences:Misc:Total Points Count],12,256]]
[Note,[StrMerge,"The number of Total Points is ",#totalpts]]//,,0,-1]
[VarSet,#note1,[StrMerge,"\nThe Document is ",#width," Wide by ",#height," Tall"]]
[VarSet,#note2,[StrMerge,"\nThere are ",#dif," Tools in this project"]]
[VarSet,#note3,[StrMerge,"\nThere are ",#subtools," subtools."]]
[VarSet,#note4,[StrMerge,"\nCurrent tool named ",#name," has ",#points," Points."]]
//[NoteIButton,"",
[Note,#note1,0,-1]
[Note,#note2,0,-1]
[Note,#note3,0,-1]
[Note,#note4,0,0]
]//EOF